@charset "utf-8";
.magcenter {
    margin: auto;
    width: 1200px;
}


/* .smallmag{
    margin: auto;
    width: 1063px;
} */


/* body{
    min-width: 1225px;
} */


/* 全屏自适应 */

html,
body {
    height: 100%;
}
/* 头部 */
header{
    height: 80px;
    line-height: 80px;
}
header h1{
    float: left;
    padding-left: 46px;
}
header ul{
    float: right;
}
header li{
     float: left;
     font-size: 18px;
     text-align: center;
     width: 122px;
     margin: 0 23px;
}
header a{
    color: #000;
    display: block;
    position: relative;
    
}
header .active a{
    color: #866961;
}
header .active a::before{
    content: "";
    background-color: #866961;
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* 轮播图 */
#banner{
    width: 100%;
    height: 400px;  
    position: relative;      
}
#banner img{
    width: 100%;
    height:100%;
    position: absolute;
    opacity: 0;
}
#banner img.on{
    opacity: 1;
}
#banner #box_wp{
    background: rgba(0,0,0,0.4);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    margin: auto;
    color: #fff;
    /* text-align: center; */
}
#banner #wp{
    width: 320px;
    height: 70px;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    margin: auto;
    position: absolute;
}
#box_wp p:nth-of-type(1) span{
    font-size: 36px;
    padding-right: 5px;
}
#box_wp p:nth-of-type(1){
    vertical-align: top;
}
#box_wp p:nth-of-type(1),#box_wp p:nth-of-type(2) span{
    font-size: 18px;
}
#box_wp p:nth-of-type(2){
    font-size: 30px;
    padding-left: 38px;
}
#box_wp p:nth-of-type(1){
    position: relative;
    height: 35px;
}
#box_wp p:nth-of-type(1)::before{
    content: "";
    width: 284px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    right: 0;
    top: 0;
}

/* 主要内容 */
#content{
    width: 1010px;
    margin: auto;
}
#cont_top{
    width: 100%;
    position: relative;
    padding-top: 36px;
}
#cont_top ul{
    width: 100%;
    border-bottom: 1px solid #d5d5d5;
}
#cont_top li{
    color: #ccc;
    width: 88px;
    float: left;
    font-size: 16px;
    padding: 0 0 18px 10px;    
    position: relative;  
    cursor: pointer;
    margin-right: 35px;
}
#cont_top li.active{
    color: #000;
}
#cont_top li::before{
    content: "";
    background-color: #866961;
    width: 2px;
    height: 9px;
    position: absolute;
    left: 0;
    top: 9px;
}
#cont_top li::after{
    content: "";
    font-size: 10px;
    color: #ccc;
    position: absolute;
    bottom: 5px;
    left: 0;
}
#cont_top li:nth-of-type(1)::after{
    content: "Company profile";
}
#cont_top li:nth-of-type(2)::after{
    content: "News Center";
}
#cont_top li:nth-of-type(3)::after{
    content: "Company course";
}
#cont_top  p{
    position: absolute;
    right: 0;
    bottom: 6px;
    font-size: 13px;
    color: #999999;
}
#cont_top  p span:first-child,#cont_top  p span:last-child{
    color: #000;
}
/* 底部 */
footer{
    height: 80px;
    width: 100%;
    background-color: #866961;
}
footer p{
    line-height: 80px;
    padding-left: 68px;
    font-size: 12px;
    color: #fff;
    float: left;
}
footer img{
    float: left;
    padding: 20px 0 0 200px;
}

/* 购物车 */
#shoppingcar{
    position: fixed;
    right: 50px;
    top: 13px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #999;
    line-height: 50px;
    text-align: center;
    z-index: 5;
}
#shoppingcar i{
    font-size: 30px;
}